//
//  UIColor+YSAdd.h
//  YSKitExample
//
//  Created by Kyson on 2017/6/16.
//  Copyright © 2017年 YangShen. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIColor (YSAdd)

/**
 * 返回随机颜色
 */
+ (instancetype)ys_randColor;

/**
 *  将16进制字符串转换成UIColor
 */
+ (UIColor *)ys_colorWithHexString:(NSString *)color;

/**
 *  将16进制字符串 Alpha 转换成UIColor
 */
+ (UIColor *)ys_colorWithHexString:(NSString *)color alpha:(CGFloat)alpha;

@end
